﻿@{
    ViewBag.Title = "Edit";
}
@model TestHttpModules.User
<fieldset>
    <legend>编辑一个实体</legend>
    @using (Html.BeginForm())
    {
        @Html.HiddenFor(j => j.ID)
        <h3>
            @Html.ValidationSummary(false)
        </h3>
        <ul>
            <li>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：@Html.TextBoxFor(j => j.Name) @Html.ValidationMessageFor(model => model.Name)</li>
            <li>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：@Html.TextBoxFor(j => j.Password) @Html.ValidationMessageFor(model => model.Password)</li>
            <li>状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：@Html.TextBoxFor(j => j.Status) @Html.ValidationMessageFor(model => model.Status)</li>
            <li>真实姓名：@Html.TextBoxFor(j => j.User_Profile.RealName) @Html.ValidationMessageFor(model => model.User_Profile.RealName)</li>
        </ul>   <div class="OperatePanel">
            <button>
                提交</button>
            @Html.ActionLink("返回", "Index")
        </div>
            
        
    }
</fieldset>
